<?php
use think\facade\Db;
Db::connect()->query('SELECT 1');
echo '数据库连接成功！';
